import { createApp } from 'vue';
import App from './App.vue';
import store from './store';
import router from './router';
import permission from './utils/permission';
import i18n from './i18n';
import './styles/index.less';
import VXETable from 'vxe-table';
import '@/components/VxeTable/src/css/index.scss';
import 'vxe-table-plugin-antd/dist/style.css';
import 'vue-json-pretty/lib/styles.css';
import { VxeBasicTable } from '@/components/VxeTable';

declare module 'csstype' {
  interface Properties {
    overflowY?: string; //增加报错的属性
    overflowX?: string; //增加报错的属性
  }
}

const app = createApp(App);

app.use(store);
app.use(router);
app.use(permission);
app.use(i18n);
app.use(VXETable);
app.use(VxeBasicTable);
app.mount('#app');
